<!DOCTYPE html>
<html lang="en">
<head>
    <script>
        var __replaceUrl = ~window.location.host.indexOf('buhuida.com') ? window.location.href.replace(/.*?buhuida\.com/, 'https://form.lljj.me') : (window.location.protocol === 'http:' && ~window.location.host.indexOf('lljj.me') ? window.location.href.replace(/^http/, 'https') : '');
        __replaceUrl && window.location.replace(__replaceUrl);
    </script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Vue JSON Schema form editor - VJSF</title>
    <meta name="description" content="vue-json-schema-form - 基于JSON Schema动态创建表单在线演示编辑器" />
    <link rel="icon" href="https://vue-json-schema-form.lljj.me/icons/ico.png">
    <link rel="stylesheet" href="//static.lljj.me/lib/element-plus/2.0.4/index.min.css">
    <link rel="apple-touch-icon" href="https://vue-json-schema-form.lljj.me/icons/ico.png">
</head>
<body>
    <div id="app"></div>
    <script src="//npm.elemecdn.com/@lljj/polyfill@0.1.1/dist/polyfill.umd.min.js"></script>
    <script src="//static.lljj.me/lib/vue/3.2.31/vue.global.min.js"></script>
    <script src="//static.lljj.me/lib/vue-router/4.0.13/vue-router.global.min.js"></script>
    <script src="//static.lljj.me/lib/element-plus/2.0.4/index.full.min.js"></script>

    <script src="//static.lljj.me/lib/monaco-editor/0.30.0/min/vs/loader.js"></script>
    <script>
        require.config({ paths: { 'vs': '//static.lljj.me/lib/monaco-editor/0.30.0/min/vs' }});
        try {
            window.MonacoEnvironment = {
                getWorkerUrl: function(workerId, label) {
                    const code = encodeURIComponent(`
                    self.MonacoEnvironment = {
                      baseUrl: 'https://static.lljj.me/lib/monaco-editor/0.30.0/min/'
                    };
                    importScripts('https://static.lljj.me/lib/monaco-editor/0.30.0/min/vs/base/worker/workerMain.js');
                `);

                    return 'data:text/javascript;charset=utf-8,' + code;
                }
            };
        } catch (e) {
            // nothing ....
        }
    </script>
</body>
</html>
